package cz.jj.tstr;

import androidx.appcompat.app.AppCompatActivity;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;


import android.view.View;
import android.widget.Switch;

public class settings extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settings);
        super.getActionBar().hide();
        Switch sw_pass=(Switch) findViewById(R.id.pass_req);
        sw_pass.setOnCheckedChangeListener(new SwitchListener(this));
        Switch sw_key=(Switch) findViewById((R.id.pass_key));
        sw_key.setOnCheckedChangeListener(new SwitchListener(this));


    }



}